ServerEnvironment

enum ServerEnvironment : Enum<DonkeyConfig.ServerEnvironment>

Defines the server environment for the framework. The server environment is used for SDK Token verification and for tracking lock and unlock events for locks.

Entries

Link copied to clipboard
TEST("https://staging.donkey.bike/")

Test environment, useful for testing and validating the implementation, or for debugging issues

Link copied to clipboard
LIVE("https://stables.donkey.bike/")

Production environment, where actual Donkey vehicles available for rent are registered

Properties

Link copied to clipboard
val serverUrl: String